package com.hyy.packagemanager.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Hyy
 * @Date: 2022/2/20 17:33
 * @Describe:
 * @Version 1.0
 */
@RestController
@Api(tags = "欢迎")
public class HelloController {

    @GetMapping("/hello")
    @ApiOperation("欢迎接口")
    public String hello() {
        return "welcome to my website! nice to meet you!";
    }
}
